package com.snake.springboot.authority.dao.mybatis.mappers;

import com.snake.springboot.authority.dao.mybatis.entity.AuthInterfaceDO;
import com.snake.springboot.authority.dao.mybatis.entity.AuthRuleDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AuthInterfaceMapper {

    int insert(AuthInterfaceDO record);

    int delete(String interfaceId);

    List<AuthInterfaceDO> findByCondition(AuthInterfaceDO condition);

    List<AuthRuleDO> findRuleList(AuthInterfaceDO condition);

    AuthInterfaceDO findById(String interfaceId);

    int update(AuthInterfaceDO record);
}